package com.csce.domain.entity.go_score.bo;

import com.doudou.core.container.SetUtil;
import lombok.*;

import java.util.Collection;
import java.util.Set;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ToString
public class GoScoreExamDtoIdsBo {

    private Set<Long> placeList = SetUtil.hashSet();
    private Set<Long> skillList = SetUtil.hashSet();
    private Set<Long> sheetList = SetUtil.hashSet();
    private Set<Long> userList = SetUtil.hashSet();

    public void addPlace(Long id){
        this.placeList.add(id);
    }

    public void addSkill(Long id){
        this.skillList.add(id);
    }

    public void addAllSheetId(Collection<Long> ids){
        this.sheetList.addAll(ids);
    }

    public void addAllUserId(Collection<Long> ids){
        this.userList.addAll(ids);
    }


}
